home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
mc51bugs
/
q32851
< prev
next >
Wrap
Text File
|
1988-07-29
|
1KB
|
47 lines
Q32851 Internal Compiler Error: grammar.c Line 91
C Compiler
5.10 | 5.10
MS-DOS | OS/2
Summary:
The code fragment below will produce the following error when
compiled with the options /AH and /Oi:
fatal error C1001: Internal Compiler Error
(compiler file '../grammar.c', line 91)
Contact Microsoft Technical Support
Microsoft has confirmed this to be a problem in Version 5.10 of the
C compiler. We are researching this problem and will post new
information as it becomes available.
You can work around this problem by using the function version of
strcpy rather than the intrinsic version in this module.
More information:
The following code reproduces the problem:
/* uncomment this pragma to work around the problem:
#pragma function (strcpy)
*/
#include <string.h>
void update(void);
struct OLD {
int OLDtype;
char OLDdata[12];
} OLDbuf;
struct NEW {
char NEWdata[12];
} NEWbuf;
void update(void)
{
strcpy(NEWbuf.NEWdata, OLDbuf.OLDdata);
}
Keywords: buglist5.10 buglist5.00 qfbv
Updated 88/07/29 12:16